Skip to content

docs: Update repository collaborators resource docs#3437

Open
stevehipwell wants to merge 1 commit into
integrations:mainfrom
stevehipwell:update-repo-collaborators-docs
Open

docs: Update repository collaborators resource docs#3437
stevehipwell wants to merge 1 commit into
integrations:mainfrom
stevehipwell:update-repo-collaborators-docs

Conversation

@stevehipwell
Copy link
Copy Markdown
Collaborator


Before the change?

After the change?

  • The docs for github_repository_collaborators is generated from the provider metadata

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@stevehipwell stevehipwell added this to the v6.13.0 milestone May 18, 2026
@stevehipwell stevehipwell self-assigned this May 18, 2026
@stevehipwell stevehipwell added the Type: Documentation Improvements or additions to documentation label May 18, 2026
@github-actions
Copy link
Copy Markdown

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@stevehipwell stevehipwell force-pushed the update-repo-collaborators-docs branch 2 times, most recently from d466291 to 67185e3 Compare May 18, 2026 16:08
@stevehipwell stevehipwell force-pushed the update-repo-collaborators-docs branch 2 times, most recently from d60e2a0 to da6081e Compare May 19, 2026 11:50
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
@stevehipwell stevehipwell force-pushed the update-repo-collaborators-docs branch from da6081e to f3e7d66 Compare May 21, 2026 11:02
- `team_id` (String) ID or slug of the team to add to the repository as a collaborator.

```shell
terraform import github_repository_collaborators.collaborators terraform
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is lost. The new template only renders the import block under {{- if .HasImport }}, which tfplugindocs keys off a sibling examples/resources/<name>/import.sh. No import.sh was added in this PR, so the regenerated page drops the import section entirely.

Fix is to add examples/resources/github_repository_collaborators/import.sh with something like

terraform import github_repository_collaborators.collaborators terraform

No template change needed; the existing {{- if .HasImport }} block will pick it up on the next make generatedocs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants